/****************************************************************************
**
** Copyright (C) 2018 Alexander Akulich <akulichalexander@gmail.com>
**
** Sailfish Silica UI is under copyright of Jolla Ltd.
**
** Based on Qt Material style
**
****************************************************************************/

#ifndef QQUICKSILICATHEME_P_H
#define QQUICKSILICATHEME_P_H

//
//  W A R N I N G
//  -------------
//
// This file is not part of the Qt API.  It exists purely as an
// implementation detail.  This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
//

#include <QtCore/qvariant.h>
#include <QtGui/qfont.h>
#include <QtQuickControls2/private/qquickproxytheme_p.h>

QT_BEGIN_NAMESPACE

class QQuickSilicaTheme :  public QQuickProxyTheme
{
public:
    explicit QQuickSilicaTheme(QPlatformTheme *theme = nullptr);

    const QFont *font(Font type = SystemFont) const override;

    QVariant themeHint(ThemeHint hint) const override;

private:
    QFont systemFont;
    QFont buttonFont;
    QFont toolTipFont;
    QFont itemViewFont;
    QFont listViewFont;
    QFont menuItemFont;
    QFont editorFont;
};

QT_END_NAMESPACE

#endif // QQUICKSILICATHEME_P_H
